import Vue from "vue";
import VueRouter from "vue-router";
import Login from "../views/login.vue";
import Home from '../components/';

Vue.use(VueRouter);

const routes = [
  { path: '/', 
    name:'index',
    component: Home 
  },
 
  {
     path: '/login', 
     name:'login',
     component: Login   
  }
];

const router = new VueRouter({
  routes,
});

export default router;
